package com.imooc.mail.enums;

import lombok.Getter;

/**
 * 角色0-管理员， 1-普通用户
 * @Author wjc
 * Date on 2020/6/4 21:26
 */
@Getter
public enum UserRoleEnum {
    ADMIN(0, "管理员"),
    CUSTOMER(1, "普通用户");

    Integer code;
    String desc;


    UserRoleEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
